home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
039a
/
d3d.zip
/
GRPACK.H
< prev
next >
Wrap
Text File
|
1989-11-21
|
1KB
|
41 lines
/* GRPACK.H: Header file for graphics functions. */
extern int in_textmode, adaptype, X__max, Y__max, drawmode;
extern float x_max, y_max, horfact, vertfact;
extern FILE *fplot;
/* File for deferred graphics output. For example, programs
PLOTHP can read this file and convert it to output on
the video screen, a matrix printer, or an HP plotter.
The identifier FILE is defined in <stdio.h>, which
must therefore be included prior to the present file.
*/
#ifndef __HUGE__
#error Use Turbo C huge memory model.
#endif
void initgr(void);
void endgr(void);
void to_text(void);
void move(float x, float y);
void draw(float x, float y);
void imove(int X, int Y);
void idraw(int X, int Y);
void draw_line(int X1, int Y1, int X2, int Y2);
void dot(int X, int Y);
void clearpage(void);
void text(char *str);
void textXY(int X, int Y, char *str);
void printgr(int Xlo, int Xhi, int Ylo, int Yhi);
void setprdim(void);
int IX(float x);
int IY(float y);
int pixlit(int X, int Y);
int iscolor(void);
void wrscr(int line, int col, char *str);
void settxtcursor(int line, int col);
void clearscr(void);